class MyClass(object):
    class_properties = "this is class properties"

    def is_fun(self):
        return "welcome "+self.class_properties

    @staticmethod
    def static_method():
        return f"this is staticmethod：{MyClass.class_properties}"

    @classmethod
    def class_method(cls):
        return "this is classmethod：{}".format(cls.class_properties)



if __name__ == '__main__':
    my = MyClass()
    print(my.class_properties)
    print("类的属性值：",MyClass.class_properties)
    print(my.__class__)
    print(my.is_fun())
    print(MyClass.class_method())
    print(MyClass.static_method())



